package com.sta.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sta.staff.pojo.Message;
import com.sta.staff.pojo.Salary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper extends BaseMapper<Message> {
    List<Message> findAllMessage();
    void addUsersMessage(@Param("uid") Integer uid, @Param("mid") Integer mid);
    void deleteUsersMessage(@Param("mid") Integer mid);
}
